<div class="ui container">
  <br><br><br>
  <div class="ui breadcrumb">
  <a href="/personal" class="section">个人中心</a>
  <div class="divider"> / </div>
  <a  href="/personal/bank_cards" class="section">我的银行卡</a>
  <div class="divider"> / </div>
  <div class="active section">更新银行卡</div>
</div>
<div class="ui divider">

</div>
  <% form_tag url(:personal, :update_bank_card), :class=>"ui large form" do %>
    <div class="field">
      <label for="">银行卡号</label>
      <input type="text" name="card_number" value="<%= @bankcard.card_number %>">
    </div>
    <div class="field">
      <label for="">开户银行</label>
      <input type="text" name="bank_address" value="<%= @bankcard.bank_address %>">
    </div>
    <div class="field">
      <label for="">银行预留手机号</label>
      <input type="text" name="bank_mobile" value="<%= @bankcard.bank_mobile %>">
    </div>
    <div class="field">
      <label for="">户头姓名</label>
      <input type="text" name="bank_real_name" value="<%= @bankcard.bank_real_name %>">
      <input type="hidden", name="bank_id" value="<%= @bankcard.id %>" />
    </div>
    <div class="field">

        <a class="ui icon button" href="/personal/bank_cards" name="button">返回
          <i class="arrow circle left icon"></i></a>
        <button class="ui button"  type="submit" name="button">更新</button>

    </div>

  <% end %>
  <br>
  <br>
  <br>
  <br>
</div>
